records = [
    ('first', 1, 2),
    ('second', 'hello'),
    ('third', 4, 5)
]


def add(a, b):
    return a + b


for tag, *args in records:
    if tag == 'first' or tag == 'third':
        print(add(*args))
    else:
        print(*args)

print(*[1, 3, 4])
